package com.guigu.qingcheng.servicegoods.config;

import com.guigu.qingcheng.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ApplicationContextConfig {
    @Bean
    public IdWorker idWorker() {
        return new IdWorker(1,1);
    }
}
